package dcc.component;

import java.awt.Component;
import java.awt.Font;

import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;

import com.l2fprod.common.swing.JLinkButton;

public class DeleteButtonRenderer extends JLinkButton implements TableCellRenderer {

	public DeleteButtonRenderer(){
		super("X");
		this.setFont(new Font("Microsoft YaHei", Font.PLAIN, 8));
	}
	
	@Override
	public Component getTableCellRendererComponent(JTable table, Object value,
			boolean isSelected, boolean hasFocus, int row, int column) {
		return this;
	}

}
